<template>
  <div class="front-home">
    <!-- 背景渐变图 层级：倒数第1层 -->
    <div class="body_bgimage">
      <BodyBgimg />
    </div>

    <!-- 粒子蒙版 层级：倒数第2层 -->
    <cjui-particles :z-index="66" :options="StarPoint" />

    <!-- footer 层级：倒数第3层 -->
    <footer class="footer hidden-xs-only">
      <div class="footer-container">
        <ICPmsg />
      </div>
    </footer>

    <!-- 宫格菜单 层级：最高层 -->
    <BodyGridNav />
  </div>
</template>

<script lang="ts" setup>
import StarPoint from '@/components/cjui/Particles/json/star-point.json'
import BodyBgimg from './components/BodyBgimg.vue'
import ICPmsg from './components/ICPmsg.vue'
import BodyGridNav from './components/BodyGridNav.vue'
</script>

<style lang="scss" scoped>
.front-home {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  font-family: zcoolKuHei;
}

.body_bgimage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background-color: #000;
}

.footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 77;

  .footer-container {
    width: 100%;
    padding: 8px;
    color: rgb(223, 223, 223);
    font-size: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
  }
}
</style>
